package cn.jinjimi.domain.store;

import cn.jinjimi.domain.data.dto.PosterForShareDto;
import cn.jinjimi.domain.data.dto.PosterTemplateDto;
import cn.jinjimi.domain.data.dto.PostersInfoDto;
import cn.jinjimi.app.poster.bean.PosterMarkDto;

import java.io.IOException;
import java.util.Map;

/**
 * Created by lforxeverc on 16/9/27.
 */

public interface PosterStore {
    PosterTemplateDto fetchTemplatesCategories(int parentCode) throws IOException;

    PostersInfoDto fetchPosterTemplates(Map<String,Object> map) throws IOException;

    void sendShareTemplate(int templateId) throws IOException;

    PosterForShareDto fetchPosterShareMsg(boolean forceRefresh, int templateId) throws IOException;

    PosterMarkDto fetchPosterMarkInfo(int templateId, boolean forceRefresh) throws IOException;
}
